Merged
Conversation
6e0e179 to
4c2ea55
Compare
4c2ea55 to
c7f7f20
Compare
SonQBChau
approved these changes
Oct 29, 2025
Contributor
SonQBChau
left a comment
There was a problem hiding this comment.
I tested it on my machine. The old version took about 5 seconds, while the new one did instantly. I think the log time might not accurately reflect the actual db query runtime, but the change from a regular to a composite key makes sense and should speed up join queries. Other changes also look good to me!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I made the following optimizations:
experiment_dict.Do a benchmark test on the develop branch: set up a console to catch the log, something like:
Then first run the test search
and see how long it takes to run that full search. You're looking for a line like
to show that the full search is complete. On my machine, the timestamps are 4 seconds apart.
Then set up this branch. Run
make recompose-htsgetandmake test-integrationto get test data into the system.Rerun the test search and check the timestamps again. On my machine, both timestamps are now within the same second.
Make sure both tests give you the same result: you should get a result like the following:
and if you follow the beaconResultUrl, you should get a very long result that has
at the end.